/* info.css */

/* 定义字体 */
@font-face {
  font-family: "LolitaFont";
  src: url("../font/font.woff") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "LolitaFont", sans-serif;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  height: 100%;
  background-size: cover;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.fortune-box {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.fortune-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.title {
  font-size: 28px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  margin: 10px auto;
  border-radius: 3px;
}

.content {
  padding: 0px;
  border-radius: 15px;
}

.item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.label {
  font-weight: bold;
  color: #34495e;
  width: 100px;
  flex-shrink: 0;
  font-size: 20px;
  position: relative;
  padding-left: 10px;
}

.label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #ff9a9e, #fad0c4);
  border-radius: 2px;
}

.value {
  color: #555;
  flex: 1;
  line-height: 1.8;
  font-size: 20px;
  padding-left: 15px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.footer {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}
